﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Login.aspx.cs" Inherits="Web_froms.Login" %>

<!DOCTYPE html>

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
    <title></title>
</head>
<body>
    <form id="form1" runat="server">
        <table style="margin:auto">
            <caption><h1>登录</h1></caption>
            <tr>
                <td>
                <asp:Label runat="server" ID="lb1" Text="用户名："></asp:Label>
                </td>
                <td>
                    <asp:TextBox runat="server" ID="uid"></asp:TextBox>
                </td>
            </tr>
            <tr>
                <td>
                <asp:Label runat="server" ID="lb2" Text="密码："></asp:Label>
                </td>
                <td>
                    <asp:TextBox runat="server" ID="pwd"></asp:TextBox>
                </td>
            </tr>
            <tr>
                <td>
                    <asp:Button runat="server" ID="btnLogin" Text="登录" OnClick="btnLogin_Click" />
                </td>
                <td>
                    <asp:Button runat="server" ID="btnRegister" Text="注册" OnClick="btnRegister_Click" />
                </td>
            </tr>
        </table>
    </form>
</body>
</html>
